//
//  YHOptionTableViewLayout.m
//  ScriptKill
//
//  Created by 林宁宁 on 2021/4/28.
//  Copyright © 2021 优智汇. All rights reserved.
//

#import "YHOptionTableViewLayout.h"
#import "YHOptionLayoutConstant.h"

@implementation YHOptionTableViewLayout

-(void)yh_commonInit{
    self.showAccessoryArrowView = YES;
    self.showBottomLine = YES;
    self.cellHeight = 50;
    
    self.leftShowType = YHOptionCellLeftShowType_Title;
    
    self.spaceColorTop = [UIColor yh_background].yh_alpha(0.1);
    self.spaceColorBottom = [UIColor yh_background].yh_alpha(0.1);
    
    self.cellBgColor = [UIColor clearColor];
}

-(void)setLeftTitleAlignment:(NSTextAlignment)leftTitleAlignment{
    _leftTitleAlignment = leftTitleAlignment;
    
    self.leftTitleWidth = YHOptionLayout_LeftContentWidth();
}

@end

